package cn.whx.hrm.service;

import cn.whx.hrm.domain.LoginUser;
import cn.whx.hrm.dto.LoginDto;
import cn.whx.hrm.dto.RefreshTokenDto;
import cn.whx.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

import javax.validation.Valid;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whx
 * @since 2021-06-17
 */
public interface ILoginUserService extends IService<LoginUser> {

    AjaxResult login(@Valid LoginDto dto);


    AjaxResult refresh(@Valid RefreshTokenDto dto);
}
